package com.gymmsystem.GYMMSystem.service;

import com.gymmsystem.GYMMSystem.entity.Coaches;

import java.util.List;

public interface CoachesService {
    /**
     * 获取所有教练
     */
    List<Coaches> findAllCoaches();

    /**
     * 根据专长查询教练
     */
    List<Coaches> findCoachesBySpecialty(String specialty);

    /**
     * 根据从业年限范围查询教练
     */
    List<Coaches> findCoachesByExperienceRange(Integer minExperience, Integer maxExperience);

    /**
     * 根据手机号查询教练
     */
    Coaches findCoachByPhone(String phone);

    /**
     * 更新教练信息
     */
    boolean updateCoachById(Coaches coach);

    /**
     * 查询经验丰富的教练
     */
    List<Coaches> findExperiencedCoaches();

    /**
     * 根据姓名模糊查询教练
     */
    List<Coaches> findCoachesByName(String name);

    /**
     * 根据ID获取教练详情
     */
    Coaches getCoachById(Long id);

    /**
     * 创建新教练
     */
    Long createCoach(Coaches coach);

    /**
     * 删除教练
     */
    boolean deleteCoachById(Long id);
}